package com.whut.mapper;

import com.whut.v_model.GroupMemberDetail;

import java.util.List;

public interface GroupMemberDetailMapper {
    int insert(GroupMemberDetail record);

    int insertSelective(GroupMemberDetail record);

    List<GroupMemberDetail> selectAll();

    Integer selectCount();

    /*my methods*/
    List<GroupMemberDetail> selectAllByUserId(int userId);

    /*wq*/
    List<GroupMemberDetail> getGroupHead(Integer groupId);

    List<GroupMemberDetail> getGroupMemb(Integer groupId);

    List<GroupMemberDetail> selectAllGroup(String isHead);

    List<GroupMemberDetail> selectAllGroupMemberByGroupId(int groupId);

    List<GroupMemberDetail> selectSelfGroup(int userId);

    List<GroupMemberDetail> getGroupInfo();

    /*wyh*/
    /*List<GroupMemberDetail> getGroupMemByCheckID(int checkId);*/
}